<?php
	Configure::write('debug', 1);
	Configure::write('App.encoding', 'UTF-8');
	define('LOG_ERROR', 2);
	Configure::write('Session.save', 'php');
	Configure::write('Session.cookie', 'CAKEPHP');
	Configure::write('Session.timeout', '3600');
	Configure::write('Session.start', true);
	Configure::write('Session.checkAgent', true);
	Configure::write('Security.level', 'low');
	Configure::write('Security.salt', 'DYhG93b0qyJfIxfs2guVoUubWwvniR2G0FgaC9mi');
	Configure::write('Acl.classname', 'DbAcl');
	Configure::write('Acl.database', 'default');
	Cache::config('default', array('engine' => 'File'));
	
	//define site constants
	define('T_META_KEYWORDS','Online City Conquest');
	define('T_META_DESCRIPTION','Rule 184');
	define('T_SITE_EMAIL', 'rule184@gmail.com');
	define('T_SITE_TITLE', 'Rule184');
	
	//coordinates of the city's bounadries	
	//top-left:     52.37570397280555, 4.886083602905273
	//top-right:    52.37570397280555, 4.914064407348633
	//bottom-left:  52.36606168633588, 4.886083602905273
	//bottom-right: 52.36606168633588, 4.914064407348633
	
	define('T_MAX_LAT',52.37999728055500);
	define('T_MIN_LAT',52.36406168633588);
	define('T_MAX_LONG',4.909864407348633);
	define('T_MIN_LONG',4.88003602905273);
	
	define('T_CENTER_LAT',52.3734985);
	define('T_CENTER_LONG',4.893868);
	
	define('U_HOME', 'http://localhost/public_html/gp2010/');
	//define('U_HOME', 'http://www.rule184.com/');
	//define('U_HOME', 'http://localhost/rule184/');
	
	//the MAP of the game
	define('UC_MAP', 'map/');
	define('U_GAME', 'find_friends.html');
	define('U_RANK', 'ranking.html');
	
	//options in the account
	define('U_SIGNOUT', UC_MAP.'signout.html');
	define('U_CHANGE_INFO', UC_MAP.'change_info.html');
	define('U_NEWS', UC_MAP.'news.html');
	define('U_PROFILES', UC_MAP.'profiles.html');
	define('U_SWARM', UC_MAP.'swarm.html');
	define('U_HELP', UC_MAP.'help.html');
	
	